<template>
  <default-layout>
    <header-close text="个人详细信息" slot="header"></header-close>
    <div class="form-list" slot="main">
      <div class="form-list-item">
        <span class="label">姓名：</span>
        <span class="content">{{corpQuery.name}}</span>
      </div>
      <div class="form-list-item">
        <span class="label">身份证号：</span>
        <span class="content">{{corpQuery.idCard}}</span>
      </div>
      <div class="form-list-item">
        <span class="label">档案号：</span>
        <span class="content">{{corpQuery.archiveCode}}</span>
      </div>
      <div class="form-list-item">
        <span class="label">手机号：</span>
        <span class="content">{{corpQuery.aae005}}</span>
      </div>
      <div class="form-list-item">
        <span class="label">现住址：</span>
        <span class="content">{{corpQuery.aab301 || '--'}}</span>
      </div>
      <div class="form-list-item">
        <span class="label">性别：</span>
        <span class="content">{{corpQuery.sexName}}</span>
      </div>
      <div class="form-list-item">
        <span class="label">年龄：</span>
        <span class="content">{{corpQuery.age}}</span>
      </div>
      <div class="form-list-item">
        <span class="label">政治面貌：</span>
        <span class="content">{{corpQuery.affilName || '--'}}</span>
      </div>
      <div class="form-list-item">
        <span class="label">状态：</span>
        <span class="content">{{corpQuery.isOwe || '--'}}</span>
      </div>
    </div>
  </default-layout>
</template>
<script>
  import HeaderClose from '../../../components/header-close/header-close.vue'
  import DefaultLayout from '../../../layouts/default-layout/default-layout'
  import {mapGetters} from 'vuex'

  export default {
    components: {DefaultLayout, HeaderClose},
    computed: {
      ...mapGetters([
        'corpQuery'
      ])
    },
    data() {
      return {}
    },
    created() {
      if (!this.corpQuery) {
        this.$router.back()
      }
    }
  }
</script>
<style lang="scss" scoped>
  @import "../../../common/style/variable";
</style>
